Skip to content

Conversation

EtienneM
Copy link
Member

@EtienneM EtienneM commented Aug 29, 2025

I successfully packaged the blackfire extension for PHP 8.3 and 8.4 on the scalingo-24 stack.

I also packaged the new version for scalingo-22.

@EtienneM EtienneM self-assigned this Aug 29, 2025
Copy link

@EtienneM EtienneM force-pushed the feat/STORY-2477/scalingo-24_blackfire branch 3 times, most recently from 48055a8 to 9dbb8c6 Compare September 1, 2025 08:02
@EtienneM EtienneM force-pushed the feat/STORY-2477/scalingo-24_blackfire branch from 9dbb8c6 to 9ffb1c4 Compare September 1, 2025 08:52
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file changes are just fixing linter offenses

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file changes are just fixing linter offenses

mv blackfire.so "${EXT_DIR}/blackfire.so"

tar -zxf agent.tar.gz
chmod +x agent
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The binary name changed from agent to blackfire

@EtienneM EtienneM requested review from a team and sc-david-voisin and removed request for a team September 1, 2025 09:00
@EtienneM EtienneM marked this pull request as ready for review September 1, 2025 09:00
@EtienneM EtienneM enabled auto-merge September 1, 2025 09:00
Copy link

@sc-david-voisin sc-david-voisin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few nitpicks, but LGTM

# https://docs.blackfire.io/up-and-running/installation?action=install&mode=full&location=local&os=manual&language=php&version=latest&#install-the-packages
#
# → Under "Install the Packages", select "Linux Binary" and 64 bits. Open the network inspector to identify the request triggered when you click on "Download". It contains the last version.
blackfire_agent_version=2.29.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: thanks for the clear explanation, well done for finding it !


mkdir -p ${PREFIX}/etc/php/conf.d
cat > ${PREFIX}/etc/conf.d/blackfire.ini <<'EOF'
mkdir -p "${PREFIX}/etc/php/conf.d"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
mkdir -p "${PREFIX}/etc/php/conf.d"
mkdir --parents "${PREFIX}/etc/php/conf.d"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 09714b2

mkdir -p package/ext/${zend_api_version}
pushd $tempbuilddir > /dev/null
tar zcvf $tempdir/package/ext/${zend_api_version}/php-${package_name}.tgz .
mkdir -p "package/ext/${zend_api_version}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
mkdir -p "package/ext/${zend_api_version}"
mkdir --parents "package/ext/${zend_api_version}"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 09714b2

@EtienneM EtienneM merged commit 0b43d3d into master Sep 1, 2025
4 checks passed
@EtienneM EtienneM deleted the feat/STORY-2477/scalingo-24_blackfire branch September 1, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants